

import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const Scheduling: AppRouteRecordRaw = {
	path: '/Scheduling',
	name: 'Scheduling',
	component: DEFAULT_LAYOUT,
	meta: {
		locale: '排班管理',
		ignoreCache: true,
		requiresAuth: true,
		icon: 'icon-settings',
		order: 2,
		roles: 'sys:Scheduling',
	},
	children: [
	{
			path: 'Scheduling',
			name: 'Scheduling',
			component: () =>
				import('@/views/Scheduling/index.vue'),
			meta: {
				locale: '排班管理',
				ignoreCache: true,
				requiresAuth: true,
				roles: 'sys:Scheduling',
				
			},
		},
		// {
		// 	path: 'Schedulings',
		// 	name: 'Schedulings',
		// 	component: () =>
		// 		import('@/views/Scheduling/indexbf.vue'),
		// 	meta: {
		// 		locale: '排班管理',
		// 		ignoreCache: true,
		// 		requiresAuth: true,
		// 		roles: '*',
				
		// 	},
        // },
    	{
			path: 'restList',
			name: 'restList',
			component: () =>
				import('@/views/Scheduling/restList.vue'),
			meta: {
				locale: '休息列表',
				ignoreCache: true,
				requiresAuth: true,
				roles: 'sys:restList',
				
			},
		},
	],
};

export default Scheduling;